<?php
/*
 * Created on 01.02.2006
 *
 */

class conf_defaultErrorViewHandler
{

    function startElement (& $sender, $attrs, $line)
    {
        if (empty($attrs['forward']))
            die("Attribute forward missing in tag defaultErrorView in line $line.\n");
        $sender->appendCode('$viewmapping["defaulterror"] = '.$attrs['forward'].";\n");
    }

    function endElement (& $sender)
    {
    }

}

?>